inherited dtmxs_SendInformMaster: Tdtmxs_SendInformMaster
  OldCreateOrder = True
  Left = 773
  Top = 380
  Height = 441
  Width = 685
  inherited adsMaster: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from V_xs_SendInformMaster where 0=1'
    object adsMasterBillID: TStringField
      DisplayLabel = #20851#32852'ID'
      FieldName = 'BillID'
    end
    object adsMasterBillNo: TStringField
      DisplayLabel = #36890#30693#21333#21495
      FieldName = 'BillNo'
    end
    object adsMasterBillType: TStringField
      DisplayLabel = #21333#25454#31867#22411
      FieldName = 'BillType'
    end
    object adsMasterBillDate: TDateTimeField
      DisplayLabel = #24320#21333#26085#26399
      FieldName = 'BillDate'
    end
    object adsMasterBillFlowName: TStringField
      DisplayLabel = #28304#21333#31867#22411
      FieldName = 'BillFlowName'
      Size = 50
    end
    object adsMasterExportType: TStringField
      DisplayLabel = #20869#22806#36152
      FieldName = 'ExportType'
    end
    object adsMasterDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterStockID: TStringField
      DisplayLabel = #20179#24211'ID'
      FieldName = 'StockID'
    end
    object adsMasterStockName: TStringField
      DisplayLabel = #20179#24211
      FieldName = 'StockName'
      Size = 50
    end
    object adsMasterCustID: TStringField
      DisplayLabel = #24448#26469#21333#20301'ID'
      FieldName = 'CustID'
    end
    object adsMasterCustCode: TStringField
      DisplayLabel = #23458#25143#32534#30721
      FieldName = 'CustCode'
    end
    object adsMasterCustShortName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldName = 'CustShortName'
    end
    object adsMasterHelperCode: TStringField
      DisplayLabel = #21161#35760#30721
      FieldName = 'HelperCode'
      ReadOnly = True
      Size = 50
    end
    object adsMasterCurrencyID: TStringField
      DisplayLabel = #24065#21035'ID'
      FieldName = 'CurrencyID'
    end
    object adsMasterCurrencyName: TStringField
      DisplayLabel = #24065#21035
      FieldName = 'CurrencyName'
    end
    object adsMasterExchangeRate: TFloatField
      DisplayLabel = #27719#29575
      FieldName = 'ExchangeRate'
    end
    object adsMasterLinkMan: TStringField
      DisplayLabel = #32852#31995#20154
      FieldName = 'LinkMan'
    end
    object adsMasterOperatorID: TStringField
      DisplayLabel = #19994#21153#21592'ID'
      FieldName = 'OperatorID'
    end
    object adsMasterOperatorName: TStringField
      DisplayLabel = #19994#21153#21592
      FieldName = 'OperatorName'
    end
    object adsMasterFollowerID: TStringField
      DisplayLabel = #36319#21333#21592'ID'
      FieldName = 'FollowerID'
    end
    object adsMasterFollowerName: TStringField
      DisplayLabel = #36319#21333#21592
      FieldName = 'FollowerName'
    end
    object adsMasterSettleID: TStringField
      DisplayLabel = #32467#31639#26041#24335'ID'
      FieldName = 'SettleID'
    end
    object adsMasterSettleName: TStringField
      DisplayLabel = #32467#31639#26041#24335
      FieldName = 'SettleName'
      Size = 50
    end
    object adsMasterTransType: TStringField
      DisplayLabel = #36816#36755#26041#24335
      FieldName = 'TransType'
    end
    object adsMasterTransTypeName: TStringField
      DisplayLabel = #36816#36755#26041#24335
      FieldName = 'TransTypeName'
      Size = 50
    end
    object adsMasterFetchType: TStringField
      DisplayLabel = #20132#36135#26041#24335
      FieldName = 'FetchType'
    end
    object adsMasterFetchTypeName: TStringField
      DisplayLabel = #20132#36135#26041#24335
      FieldName = 'FetchTypeName'
      Size = 50
    end
    object adsMasterFetchAddress: TStringField
      DisplayLabel = #20132#36135#22320#22336
      FieldName = 'FetchAddress'
      Size = 80
    end
    object adsMasterMaxBillDetailNo: TIntegerField
      DisplayLabel = #26126#32454#26368#22823#27969#27700#21495
      FieldName = 'MaxBillDetailNo'
    end
    object adsMasterHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterReview: TBooleanField
      DisplayLabel = #38656#22797#23457#21542
      FieldName = 'Review'
    end
    object adsMasterHasReview: TBooleanField
      DisplayLabel = #22797#23457#21542
      FieldName = 'HasReview'
    end
    object adsMasterReviewer: TStringField
      DisplayLabel = #22797#23457#20154
      FieldName = 'Reviewer'
    end
    object adsMasterReviewTime: TDateTimeField
      DisplayLabel = #22797#23457#26102#38388
      FieldName = 'ReviewTime'
    end
    object adsMasterReviewPass: TStringField
      DisplayLabel = #22797#23457#29366#24577
      FieldName = 'ReviewPass'
    end
    object adsMasterReviewPassName: TStringField
      DisplayLabel = #22797#23457#29366#24577
      FieldName = 'ReviewPassName'
      Size = 50
    end
    object adsMasterReviewMemo: TStringField
      DisplayLabel = #22797#23457#35828#26126
      FieldName = 'ReviewMemo'
      Size = 50
    end
    object adsMasterHasApprove: TBooleanField
      DisplayLabel = #23457#25209#21542
      FieldName = 'HasApprove'
    end
    object adsMasterApprover: TStringField
      DisplayLabel = #23457#25209#20154
      FieldName = 'Approver'
    end
    object adsMasterApproveTime: TDateTimeField
      DisplayLabel = #23457#25209#26102#38388
      FieldName = 'ApproveTime'
    end
    object adsMasterWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
    object adsMasterBillFlow: TStringField
      DisplayLabel = #28304#21333#31867#22411'ID'
      FieldName = 'BillFlow'
    end
  end
  inherited adsMasterEdit: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from xs_SendInformMaster'
    object adsMasterEditBillID: TStringField
      DisplayLabel = #20027#38190'ID'
      FieldName = 'BillID'
    end
    object adsMasterEditBillNo: TStringField
      DisplayLabel = #36890#30693#21333#21495
      FieldName = 'BillNo'
    end
    object adsMasterEditBillType: TStringField
      DisplayLabel = #21333#25454#31867#22411
      FieldName = 'BillType'
    end
    object adsMasterEditBillDate: TDateTimeField
      DisplayLabel = #24320#21333#26085#26399
      FieldName = 'BillDate'
    end
    object adsMasterEditExportType: TStringField
      DisplayLabel = #20869#22806#38144
      FieldName = 'ExportType'
    end
    object adsMasterEditDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterEditStockID: TStringField
      DisplayLabel = #20179#24211'ID'
      FieldName = 'StockID'
    end
    object adsMasterEditCustID: TStringField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'CustID'
    end
    object adsMasterEditCurrencyID: TStringField
      DisplayLabel = #24065#21035'ID'
      FieldName = 'CurrencyID'
      OnChange = adsMasterEditCurrencyIDChange
    end
    object adsMasterEditExchangeRate: TFloatField
      DisplayLabel = #27719#29575
      FieldName = 'ExchangeRate'
    end
    object adsMasterEditLinkMan: TStringField
      DisplayLabel = #32852#31995#20154
      FieldName = 'LinkMan'
    end
    object adsMasterEditOperatorID: TStringField
      DisplayLabel = #19994#21153#21592'ID'
      FieldName = 'OperatorID'
    end
    object adsMasterEditFollowerID: TStringField
      DisplayLabel = #36319#21333#21592'ID'
      FieldName = 'FollowerID'
    end
    object adsMasterEditSettleID: TStringField
      DisplayLabel = #32467#31639#26041#24335'ID'
      FieldName = 'SettleID'
    end
    object adsMasterEditTransType: TStringField
      DisplayLabel = #36816#36755#26041#24335
      FieldName = 'TransType'
    end
    object adsMasterEditFetchType: TStringField
      DisplayLabel = #20132#36135#26041#24335
      FieldName = 'FetchType'
    end
    object adsMasterEditFetchAddress: TStringField
      DisplayLabel = #20132#36135#22320#22336
      FieldName = 'FetchAddress'
      Size = 80
    end
    object adsMasterEditHasCreateTask: TBooleanField
      DisplayLabel = #29983#25104#20986#24211#20219#21153#21333
      FieldName = 'HasCreateTask'
    end
    object adsMasterEditMaxBillDetailNo: TIntegerField
      DisplayLabel = #26126#32454#26368#22823#27969#27700#21495
      FieldName = 'MaxBillDetailNo'
    end
    object adsMasterEditCheckMan: TStringField
      DisplayLabel = #35201#27714#23457#26680#20154
      FieldName = 'CheckMan'
    end
    object adsMasterEditCheckManName: TStringField
      DisplayLabel = #35201#27714#23457#26680#20154#21517#31216
      FieldName = 'CheckManName'
    end
    object adsMasterEditReviewMan: TStringField
      DisplayLabel = #35201#27714#22797#23457#20154
      FieldName = 'ReviewMan'
    end
    object adsMasterEditReviewManName: TStringField
      DisplayLabel = #35201#27714#22797#23457#20154#21517#31216
      FieldName = 'ReviewManName'
    end
    object adsMasterEditApproveMan: TStringField
      DisplayLabel = #35201#27714#23457#25209#20154
      FieldName = 'ApproveMan'
    end
    object adsMasterEditApproveManName: TStringField
      DisplayLabel = #35201#27714#23457#25209#20154#21517#31216
      FieldName = 'ApproveManName'
    end
    object adsMasterEditHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterEditChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterEditCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterEditReview: TBooleanField
      DisplayLabel = #38656#22797#23457#21542
      FieldName = 'Review'
    end
    object adsMasterEditHasReview: TBooleanField
      DisplayLabel = #22797#23457#21542
      FieldName = 'HasReview'
    end
    object adsMasterEditReviewer: TStringField
      DisplayLabel = #22797#23457#20154
      FieldName = 'Reviewer'
    end
    object adsMasterEditReviewTime: TDateTimeField
      DisplayLabel = #22797#23457#26102#38388
      FieldName = 'ReviewTime'
    end
    object adsMasterEditReviewPass: TStringField
      DisplayLabel = #22797#23457#29366#24577
      FieldName = 'ReviewPass'
    end
    object adsMasterEditReviewMemo: TStringField
      DisplayLabel = #22797#23457#35828#26126
      FieldName = 'ReviewMemo'
      Size = 50
    end
    object adsMasterEditHasApprove: TBooleanField
      DisplayLabel = #23457#25209#21542
      FieldName = 'HasApprove'
    end
    object adsMasterEditApprover: TStringField
      DisplayLabel = #23457#25209#20154
      FieldName = 'Approver'
    end
    object adsMasterEditApproveTime: TDateTimeField
      DisplayLabel = #23457#25209#26102#38388
      FieldName = 'ApproveTime'
    end
    object adsMasterEditApprovePass: TStringField
      DisplayLabel = #23457#25209#36890#36807#21542
      FieldName = 'ApprovePass'
    end
    object adsMasterEditApproveMemo: TStringField
      DisplayLabel = #23457#25209#35828#26126
      FieldName = 'ApproveMemo'
      Size = 50
    end
    object adsMasterEditWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterEditWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterEditModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterEditModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterEditRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
    object adsMasterEditres_CustName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_CustName'
      LookupDataSet = res_DeptCustSupply
      LookupKeyFields = 'SupplyID'
      LookupResultField = 'SupplyShortName'
      KeyFields = 'CustID'
      Size = 50
      Lookup = True
    end
    object adsMasterEditres_CurrencyName: TStringField
      DisplayLabel = #24065#21035
      FieldKind = fkLookup
      FieldName = 'res_CurrencyName'
      LookupDataSet = res_Currency
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'CurrencyID'
      Lookup = True
    end
    object adsMasterEditres_OperatorName: TStringField
      DisplayLabel = #19994#21153#21592
      FieldKind = fkLookup
      FieldName = 'res_OperatorName'
      LookupDataSet = res_Employee
      LookupKeyFields = 'EmpID'
      LookupResultField = 'EmpName'
      KeyFields = 'OperatorID'
      Lookup = True
    end
    object adsMasterEditres_FollowerName: TStringField
      DisplayLabel = #36319#21333#21592
      FieldKind = fkLookup
      FieldName = 'res_FollowerName'
      LookupDataSet = res_Employee
      LookupKeyFields = 'EmpID'
      LookupResultField = 'EmpName'
      KeyFields = 'FollowerID'
      Lookup = True
    end
    object adsMasterEditres_SettleName: TStringField
      DisplayLabel = #32467#31639#26041#24335
      FieldKind = fkLookup
      FieldName = 'res_SettleName'
      LookupDataSet = res_BaseInfo
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'SettleID'
      Size = 50
      Lookup = True
    end
    object adsMasterEditres_TransTypeName: TStringField
      DisplayLabel = #36816#36755#26041#24335
      FieldKind = fkLookup
      FieldName = 'res_TransTypeName'
      LookupDataSet = res_TransType
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'TransType'
      Size = 50
      Lookup = True
    end
    object adsMasterEditres_FetchTypeName: TStringField
      DisplayLabel = #20132#36135#26041#24335
      FieldKind = fkLookup
      FieldName = 'res_FetchTypeName'
      LookupDataSet = res_FetchType
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'FetchType'
      Size = 50
      Lookup = True
    end
    object adsMasterEditres_StockName: TStringField
      DisplayLabel = #21457#36135#20179#24211
      FieldKind = fkLookup
      FieldName = 'res_StockName'
      LookupDataSet = res_Stock
      LookupKeyFields = 'StockID'
      LookupResultField = 'StockName'
      KeyFields = 'StockID'
      Size = 50
      Lookup = True
    end
    object adsMasterEditres_ReviewPassName: TStringField
      DisplayLabel = #22797#23457#29366#24577
      FieldKind = fkLookup
      FieldName = 'res_ReviewPassName'
      LookupDataSet = res_SendReviewPass
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'ReviewPass'
      Lookup = True
    end
    object adsMasterEditres_DeptName: TStringField
      DisplayLabel = #21457#36135#21333#20301
      FieldKind = fkLookup
      FieldName = 'res_DeptName'
      LookupDataSet = res_DeptCustSupply
      LookupKeyFields = 'SupplyID'
      LookupResultField = 'SupplyFullName'
      KeyFields = 'DeptID'
      Size = 100
      Lookup = True
    end
    object adsMasterEditBillFlow: TStringField
      DisplayLabel = #28304#21333#31867#22411
      FieldName = 'BillFlow'
    end
  end
  object adsDetail: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    OnNewRecord = adsDetailNewRecord
    CommandText = 'Select * from xs_SendInformDetail where 0=1'
    EnableBCD = False
    Parameters = <>
    Left = 160
    Top = 40
    object adsDetailID: TStringField
      FieldName = 'ID'
    end
    object adsDetailBillID: TStringField
      FieldName = 'BillID'
    end
    object adsDetailBillDetailNo: TStringField
      DisplayLabel = #26126#32454#32534#21495
      FieldName = 'BillDetailNo'
    end
    object adsDetailOrderNo: TStringField
      DisplayLabel = #28304#21333#32534#21495
      FieldName = 'OrderNo'
    end
    object adsDetailOrderDetailNo: TStringField
      DisplayLabel = #28304#21333#26126#32454#32534#21495
      FieldName = 'OrderDetailNo'
    end
    object adsDetailProcessID: TStringField
      Tag = 2
      DisplayLabel = #31867#22411'ID'
      FieldName = 'ProcessID'
    end
    object adsDetailres_ProcessName: TStringField
      DisplayLabel = #31867#22411
      FieldKind = fkLookup
      FieldName = 'res_ProcessName'
      LookupDataSet = res_ProcessType
      LookupKeyFields = 'ProcessID'
      LookupResultField = 'ProcessName'
      KeyFields = 'ProcessID'
      Lookup = True
    end
    object adsDetailProductID: TStringField
      DisplayLabel = #29289#26009'ID'
      FieldName = 'ProductID'
    end
    object adsDetailProductCode: TStringField
      DisplayLabel = #29289#26009#32534#30721
      FieldName = 'ProductCode'
      Size = 50
    end
    object adsDetailProductName: TStringField
      DisplayLabel = #29289#26009#21517#31216
      FieldName = 'ProductName'
      Size = 100
    end
    object adsDetailSpecs: TStringField
      DisplayLabel = #22411#21495#35268#26684
      FieldName = 'Specs'
      Size = 200
    end
    object adsDetailBatchNo: TStringField
      DisplayLabel = #25209#21495
      FieldName = 'BatchNo'
      Size = 100
    end
    object adsDetailGradeID: TStringField
      DisplayLabel = #31561#32423'ID'
      FieldName = 'GradeID'
    end
    object adsDetailres_GradeName: TStringField
      DisplayLabel = #31561#32423
      FieldKind = fkLookup
      FieldName = 'res_GradeName'
      LookupDataSet = res_ProductGrade
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'GradeID'
      Size = 10
      Lookup = True
    end
    object adsDetailColorID: TStringField
      DisplayLabel = #33394#21495'ID'
      FieldName = 'ColorID'
    end
    object adsDetailColorCode: TStringField
      DisplayLabel = #33394#21495
      FieldName = 'ColorCode'
    end
    object adsDetailColorName: TStringField
      DisplayLabel = #39068#33394
      FieldName = 'ColorName'
      Size = 50
    end
    object adsDetailNumber: TBCDField
      DisplayLabel = #25968#37327
      FieldName = 'Number'
      OnChange = adsDetailNumberChange
      Precision = 18
      Size = 2
    end
    object adsDetailPieceCount: TFloatField
      DisplayLabel = #20214#25968
      FieldName = 'PieceCount'
    end
    object adsDetailUnitID: TStringField
      DisplayLabel = #21333#20301'ID'
      FieldName = 'UnitID'
    end
    object adsDetailres_UnitName: TStringField
      DisplayLabel = #21333#20301
      FieldKind = fkLookup
      FieldName = 'res_UnitName'
      LookupDataSet = res_Unit
      LookupKeyFields = 'UnitID'
      LookupResultField = 'UnitName'
      KeyFields = 'UnitID'
      Lookup = True
    end
    object adsDetailPrice: TBCDField
      DisplayLabel = #21333#20215
      FieldName = 'Price'
      OnChange = adsDetailPriceChange
      Precision = 18
      Size = 8
    end
    object adsDetailMoney: TBCDField
      DisplayLabel = #37329#39069
      FieldName = 'Money'
      Precision = 18
      Size = 2
    end
    object adsDetailsalemoney: TFloatField
      DisplayLabel = #38144#21806#21333#20215
      DisplayWidth = 10
      FieldName = 'SaleMoney'
    end
    object adsDetailSalePrice: TFloatField
      DisplayLabel = #38144#21806#21333#20215
      FieldName = 'SalePrice'
    end
    object adsDetailSendStatus: TStringField
      DisplayLabel = #21457#36135#29366#24577
      FieldName = 'SendStatus'
    end
    object adsDetailSendPieceCount: TFloatField
      DisplayLabel = #23454#21457#20214#25968
      FieldName = 'SendPieceCount'
    end
    object adsDetailSendNumber: TFloatField
      DisplayLabel = #23454#21457#25968#37327
      FieldName = 'SendNumber'
    end
    object adsDetailSendTime: TDateTimeField
      DisplayLabel = #21457#36135#26102#38388
      FieldName = 'SendTime'
    end
    object adsDetailWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsDetailWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsDetailModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsDetailModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsDetailRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
  object res_DeptCustSupply: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'Select SupplyID, SupplyShortName, SupplyFullName'#13#10' from V_da_Dep' +
      'tCustSupply'
    Parameters = <>
    Left = 160
    Top = 104
  end
  object res_Unit: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select UnitID, UnitName from da_Unit'
    Parameters = <>
    Left = 160
    Top = 176
  end
  object res_Currency: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ID, Name from V_da_Currency'
    Parameters = <>
    Left = 160
    Top = 248
  end
  object res_Employee: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select EmpID, EmpName from V_da_Employee'
    Parameters = <>
    Left = 288
    Top = 248
  end
  object res_BaseInfo: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ID, Name from V_da_BaseInfo'
    Parameters = <>
    Left = 288
    Top = 176
  end
  object adsBrowseDetail: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select * from xs_SendInformDetail where 0=1'
    EnableBCD = False
    Parameters = <>
    Left = 288
    Top = 40
    object adsBrowseDetailID: TStringField
      FieldName = 'ID'
    end
    object adsBrowseDetailBillID: TStringField
      FieldName = 'BillID'
    end
    object adsBrowseDetailBillDetailNo: TStringField
      DisplayLabel = #26126#32454#32534#21495
      FieldName = 'BillDetailNo'
    end
    object adsBrowseDetailOrderNo: TStringField
      DisplayLabel = #28304#21333#32534#21495
      FieldName = 'OrderNo'
    end
    object adsBrowseDetailOrderDetailNo: TStringField
      DisplayLabel = #28304#21333#26126#32454#32534#21495
      FieldName = 'OrderDetailNo'
    end
    object adsBrowseDetailProcessID: TStringField
      Tag = 2
      DisplayLabel = #31867#22411'ID'
      FieldName = 'ProcessID'
    end
    object adsBrowseDetailres_ProcessName: TStringField
      DisplayLabel = #31867#22411
      FieldKind = fkLookup
      FieldName = 'res_ProcessName'
      LookupDataSet = res_ProcessType
      LookupKeyFields = 'ProcessID'
      LookupResultField = 'ProcessName'
      KeyFields = 'ProcessID'
      Lookup = True
    end
    object adsBrowseDetailProductID: TStringField
      DisplayLabel = #29289#26009'ID'
      FieldName = 'ProductID'
    end
    object adsBrowseDetailProductCode: TStringField
      DisplayLabel = #29289#26009#32534#30721
      FieldName = 'ProductCode'
      Size = 50
    end
    object adsBrowseDetailProductName: TStringField
      DisplayLabel = #29289#26009#21517#31216
      FieldName = 'ProductName'
      Size = 100
    end
    object adsBrowseDetailSpecs: TStringField
      DisplayLabel = #22411#21495#35268#26684
      FieldName = 'Specs'
      Size = 200
    end
    object adsBrowseDetailBatchNo: TStringField
      DisplayLabel = #25209#21495
      FieldName = 'BatchNo'
      Size = 100
    end
    object adsBrowseDetailGradeID: TStringField
      DisplayLabel = #31561#32423'ID'
      FieldName = 'GradeID'
    end
    object adsBrowseDetailres_GradeName: TStringField
      DisplayLabel = #31561#32423
      FieldKind = fkLookup
      FieldName = 'res_GradeName'
      LookupDataSet = res_ProductGrade
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'GradeID'
      Lookup = True
    end
    object adsBrowseDetailColorID: TStringField
      DisplayLabel = #33394#21495'ID'
      FieldName = 'ColorID'
    end
    object adsBrowseDetailColorCode: TStringField
      DisplayLabel = #33394#21495
      FieldName = 'ColorCode'
    end
    object adsBrowseDetailColorName: TStringField
      DisplayLabel = #39068#33394
      FieldName = 'ColorName'
      Size = 50
    end
    object adsBrowseDetailPieceCount: TFloatField
      DisplayLabel = #20214#25968
      FieldName = 'PieceCount'
    end
    object adsBrowseDetailNumber: TBCDField
      DisplayLabel = #25968#37327
      FieldName = 'Number'
      OnChange = adsDetailNumberChange
      Precision = 18
      Size = 2
    end
    object adsBrowseDetailUnitID: TStringField
      DisplayLabel = #21333#20301'ID'
      FieldName = 'UnitID'
    end
    object adsBrowseDetailres_UnitName: TStringField
      DisplayLabel = #21333#20301
      FieldKind = fkLookup
      FieldName = 'res_UnitName'
      LookupDataSet = res_Unit
      LookupKeyFields = 'UnitID'
      LookupResultField = 'UnitName'
      KeyFields = 'UnitID'
      Lookup = True
    end
    object adsBrowseDetailPrice: TBCDField
      DisplayLabel = #21333#20215
      FieldName = 'Price'
      OnChange = adsDetailPriceChange
      Precision = 18
      Size = 8
    end
    object adsBrowseDetailMoney: TBCDField
      DisplayLabel = #37329#39069
      FieldName = 'Money'
      Precision = 18
      Size = 2
    end
    object adsBrowseDetailSendStatus: TStringField
      DisplayLabel = #21457#36135#29366#24577
      FieldName = 'SendStatus'
    end
    object adsBrowseDetailSendPieceCount: TFloatField
      DisplayLabel = #23454#21457#20214#25968
      FieldName = 'SendPieceCount'
    end
    object adsBrowseDetailSendNumber: TFloatField
      DisplayLabel = #23454#21457#25968#37327
      FieldName = 'SendNumber'
    end
    object adsBrowseDetailSendTime: TDateTimeField
      DisplayLabel = #21457#36135#26102#38388
      FieldName = 'SendTime'
    end
    object adsBrowseDetailWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsBrowseDetailWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsBrowseDetailModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsBrowseDetailModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsBrowseDetailRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
  object res_Stock: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select StockID, StockName from V_da_Stock'
    Parameters = <>
    Left = 408
    Top = 104
  end
  object adsSendInformType: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 'Select * from V_xs_SendInformType'
    Parameters = <>
    Left = 408
    Top = 40
  end
  object frdsDetail: TfrDBDataSet
    DataSet = adsDetail
    Left = 56
    Top = 240
  end
  object res_SendReviewPass: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ID, Code, Name from V_xs_SendReviewPass'
    Parameters = <>
    Left = 408
    Top = 176
  end
  object adsUserCompany: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 
      'select b.DeptID, b.DeptCode, b.DeptName from xt_CompanySet a '#13#10'j' +
      'oin da_Department b on a.CompanyID=b.DeptID'#13#10'where a.UserID=(sel' +
      'ect UserID from xt_Users where UserCode=:UserCode)'
    Parameters = <
      item
        Name = 'UserCode'
        Size = -1
        Value = Null
      end>
    Left = 288
    Top = 104
  end
  object res_ProcessType: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ProcessID, ProcessName from V_ck_ProductProcess'
    Parameters = <>
    Left = 408
    Top = 248
  end
  object res_FetchType: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ID, Name from V_xs_FetchType'
    Parameters = <>
    Left = 536
    Top = 184
  end
  object res_ProductGrade: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ID, Code, Name from V_da_ProductGrade'
    Parameters = <>
    Left = 536
    Top = 104
  end
  object res_TransType: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 'Select ID, Name from V_da_TransType'
    Parameters = <>
    Left = 536
    Top = 248
  end
  object adsSendInformDetail: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    OnNewRecord = adsDetailNewRecord
    CommandText = 'Select * from V_xs_SendInformDetail where 0=1'
    EnableBCD = False
    Parameters = <>
    Left = 536
    Top = 40
    object StringField1: TStringField
      FieldName = 'ID'
    end
    object StringField2: TStringField
      FieldName = 'BillID'
    end
    object adsSendInformDetailBillNo: TStringField
      DisplayLabel = #36890#30693#21333#21495
      FieldName = 'BillNo'
    end
    object adsSendInformDetailBillType: TStringField
      DisplayLabel = #21333#25454#31867#22411
      FieldName = 'BillType'
    end
    object adsSendInformDetailBillDate: TDateTimeField
      DisplayLabel = #24320#21333#26085#26399
      FieldName = 'BillDate'
    end
    object adsSendInformDetailExportType: TStringField
      DisplayLabel = #20869#22806#36152
      FieldName = 'ExportType'
    end
    object adsSendInformDetailDeptID: TStringField
      DisplayLabel = #37096#38376'ID'
      FieldName = 'DeptID'
    end
    object adsSendInformDetailStockID: TStringField
      DisplayLabel = #20179#24211'ID'
      FieldName = 'StockID'
    end
    object adsSendInformDetailStockName: TStringField
      DisplayLabel = #20179#24211
      FieldName = 'StockName'
      Size = 50
    end
    object adsSendInformDetailCustID: TStringField
      DisplayLabel = #24448#26469#21333#20301'ID'
      FieldName = 'CustID'
    end
    object adsSendInformDetailCustCode: TStringField
      DisplayLabel = #23458#25143#32534#30721
      FieldName = 'CustCode'
    end
    object adsSendInformDetailCustShortName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldName = 'CustShortName'
    end
    object adsSendInformDetailHelperCode: TStringField
      DisplayLabel = #21161#35760#30721
      FieldName = 'HelperCode'
      ReadOnly = True
      Size = 50
    end
    object adsSendInformDetailCurrencyID: TStringField
      DisplayLabel = #24065#21035'ID'
      FieldName = 'CurrencyID'
    end
    object adsSendInformDetailCurrencyName: TStringField
      DisplayLabel = #24065#21035
      FieldName = 'CurrencyName'
    end
    object adsSendInformDetailExchangeRate: TFloatField
      DisplayLabel = #27719#29575
      FieldName = 'ExchangeRate'
    end
    object adsSendInformDetailTransType: TStringField
      DisplayLabel = #36816#36755#26041#24335
      FieldName = 'TransType'
    end
    object adsSendInformDetailTransTypeName: TStringField
      DisplayLabel = #36816#36755#26041#24335
      FieldName = 'TransTypeName'
      Size = 50
    end
    object adsSendInformDetailFetchAddress: TStringField
      DisplayLabel = #20132#36135#22320#22336
      FieldName = 'FetchAddress'
      Size = 80
    end
    object StringField3: TStringField
      DisplayLabel = #26126#32454#32534#21495
      FieldName = 'BillDetailNo'
    end
    object StringField4: TStringField
      DisplayLabel = #28304#21333#32534#21495
      FieldName = 'OrderNo'
    end
    object StringField5: TStringField
      DisplayLabel = #28304#21333#26126#32454#32534#21495
      FieldName = 'OrderDetailNo'
    end
    object StringField7: TStringField
      Tag = 2
      DisplayLabel = #31867#22411'ID'
      FieldName = 'ProcessID'
    end
    object adsSendInformDetailProcessName: TStringField
      DisplayLabel = #31867#22411
      FieldName = 'ProcessName'
      Size = 50
    end
    object StringField9: TStringField
      DisplayLabel = #29289#26009'ID'
      FieldName = 'ProductID'
    end
    object StringField10: TStringField
      DisplayLabel = #29289#26009#32534#30721
      FieldName = 'ProductCode'
      Size = 50
    end
    object StringField11: TStringField
      DisplayLabel = #29289#26009#21517#31216
      FieldName = 'ProductName'
      Size = 100
    end
    object StringField12: TStringField
      DisplayLabel = #22411#21495#35268#26684
      FieldName = 'Specs'
      Size = 200
    end
    object StringField13: TStringField
      DisplayLabel = #25209#21495
      FieldName = 'BatchNo'
      Size = 100
    end
    object StringField14: TStringField
      DisplayLabel = #31561#32423'ID'
      FieldName = 'GradeID'
    end
    object adsSendInformDetailGradeName: TStringField
      DisplayLabel = #31561#32423
      FieldName = 'GradeName'
      Size = 50
    end
    object StringField16: TStringField
      DisplayLabel = #33394#21495'ID'
      FieldName = 'ColorID'
    end
    object StringField17: TStringField
      DisplayLabel = #33394#21495
      FieldName = 'ColorCode'
    end
    object StringField18: TStringField
      DisplayLabel = #39068#33394
      FieldName = 'ColorName'
      Size = 50
    end
    object FloatField1: TFloatField
      DisplayLabel = #20214#25968
      FieldName = 'PieceCount'
    end
    object BCDField1: TBCDField
      DisplayLabel = #25968#37327
      FieldName = 'Number'
      OnChange = adsDetailNumberChange
      Precision = 18
      Size = 2
    end
    object StringField19: TStringField
      DisplayLabel = #21333#20301'ID'
      FieldName = 'UnitID'
    end
    object adsSendInformDetailUnitName: TStringField
      DisplayLabel = #21333#20301
      FieldName = 'UnitName'
    end
    object FloatField7: TFloatField
      DisplayLabel = #21333#20215
      FieldName = 'SalePrice'
    end
    object BCDField2: TBCDField
      DisplayLabel = '('#26412#24065')'#21333#20215
      FieldName = 'Price'
      OnChange = adsDetailPriceChange
      Precision = 18
      Size = 8
    end
    object BCDField3: TBCDField
      DisplayLabel = #37329#39069
      FieldName = 'Money'
      Precision = 18
      Size = 2
    end
    object adsSendInformDetailSendStatus: TStringField
      DisplayLabel = #21457#36135#29366#24577
      FieldName = 'SendStatus'
    end
    object adsSendInformDetailSendStatusName: TStringField
      DisplayLabel = #21457#36135#29366#24577
      FieldName = 'SendStatusName'
      Size = 50
    end
    object FloatField8: TFloatField
      DisplayLabel = #23454#21457#25968#37327
      FieldName = 'SendNumber'
    end
    object DateTimeField1: TDateTimeField
      DisplayLabel = #21457#36135#26102#38388
      FieldName = 'SendTime'
    end
    object StringField23: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 500
    end
  end
end
